package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 其它大量元素对象 soil_chem_others
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class SoilChemOthers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 样本id */
    private Long sId;

    /** 全k(g/kg) */
    @Excel(name = "全k(g/kg)")
    private String tk;

    /** 有效k(g/kg) */
    @Excel(name = "有效k(g/kg)")
    private String vk;

    /** 全Na(g/kg) */
    @Excel(name = "全Na(g/kg)")
    private BigDecimal tna;

    /** 有效Na(g/kg) */
    @Excel(name = "有效Na(g/kg)")
    private BigDecimal vna;

    /** 全Mg(g/kg) */
    @Excel(name = "全Mg(g/kg)")
    private BigDecimal tmg;

    /** 有效Mg(g/kg) */
    @Excel(name = "有效Mg(g/kg)")
    private BigDecimal vmg;

    /** 全Ca(g/kg) */
    @Excel(name = "全Ca(g/kg)")
    private BigDecimal tca;

    /** 有效Ca(g/kg) */
    @Excel(name = "有效Ca(g/kg)")
    private BigDecimal vca;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setTk(String tk) 
    {
        this.tk = tk;
    }

    public String getTk() 
    {
        return tk;
    }
    public void setVk(String vk) 
    {
        this.vk = vk;
    }

    public String getVk() 
    {
        return vk;
    }
    public void setTna(BigDecimal tna) 
    {
        this.tna = tna;
    }

    public BigDecimal getTna() 
    {
        return tna;
    }
    public void setVna(BigDecimal vna) 
    {
        this.vna = vna;
    }

    public BigDecimal getVna() 
    {
        return vna;
    }
    public void setTmg(BigDecimal tmg) 
    {
        this.tmg = tmg;
    }

    public BigDecimal getTmg() 
    {
        return tmg;
    }
    public void setVmg(BigDecimal vmg) 
    {
        this.vmg = vmg;
    }

    public BigDecimal getVmg() 
    {
        return vmg;
    }
    public void setTca(BigDecimal tca) 
    {
        this.tca = tca;
    }

    public BigDecimal getTca() 
    {
        return tca;
    }
    public void setVca(BigDecimal vca) 
    {
        this.vca = vca;
    }

    public BigDecimal getVca() 
    {
        return vca;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sId", getsId())
            .append("tk", getTk())
            .append("vk", getVk())
            .append("tna", getTna())
            .append("vna", getVna())
            .append("tmg", getTmg())
            .append("vmg", getVmg())
            .append("tca", getTca())
            .append("vca", getVca())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
